/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.alphawavesgames.engine.rendering;

import com.alphawavesgames.engine.maths.Vector2;

/**
 *
 * @author duncan
 */
public class Vertex2DCol extends Vertex2D
{
    protected Colour4 m_colour;

    public Vertex2DCol()
    {
        m_colour = new Colour4(1.0f);
    }

    public Vertex2DCol( Vector2 pos, float r, float g, float b, float a )
    {
        m_position = new Vector2( pos );
        m_colour = new Colour4( r, g, b, a );
    }
}
